Store adapter — Linio Marketplace¶
The adapter
object contains properties for connecting to the Linio Marketplace API.
Parent object: a store with property "platform" : "linio"
Required properties¶
The following adapter
properties are required for Linio Marketplace stores.
api_key
¶
Property | api_key |
---|---|
Name | Linio API Key |
Data type | string |
Required? | Yes |
marketplace_id
¶
Property | marketplace_id |
---|---|
Name | Linio Marketplace Region |
Data type | string |
Accepted values |
|
Required? | Yes |
user_id
¶
Property | user_id |
---|---|
Name | Linio User ID |
Data type | string |
Required? | Yes |
Example¶
Example: create a new Linio Marketplace store
curl -X POST \
-H "Authorization: Bearer $JWT_TOKEN" \
-H "Content-Type: application/json" \
https://api.getdropstream.com/stores \
-d @- <<EOF
{ "customer_id": "3775",
"name": "Your Linio Marketplace Store",
"platform": "linio",
"adapter": {
"user_id": "abc123",
"api_key": "abc123",
"marketplace_id": "mx"
}
}
EOF
For details about this request type, see: Create a new store.